import { createRouter, createWebHistory } from 'vue-router';
import Hello from '../Hello.vue';
import Plugin from '../Plugin.vue';
import Home from '../Home.vue';

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
      },
  {
    path: '/hello',
    name: 'Hello',
    component: Hello
  },
  {
    path: '/plugin',
    name: 'Plugin',
    component: Plugin
  }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;